package com.zzyy.study.config;

import com.zzyy.study.rabbitmq.QueueConstants;
import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @auther zzyy
 * @create 2024-07-07 15:56
 */
@Configuration
public class RabbitMQConfig
{
    @Bean
    public Queue queue()
    {
        return new Queue(QueueConstants.TEST);
    }
}
